home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PROGRAMR
/
WTJ208.ZIP
/
FRANTZ
/
CPP
/
CTARGET.MAK
< prev
next >
Wrap
Makefile
|
1993-04-11
|
2KB
|
104 lines
PROJ = CTARGET
DEBUG = 0
PROGTYPE = 0
CALLER =
ARGS =
DLLS = ..\vb\vbtarget.vbx ..\target.dll
D_RCDEFINES = /d_DEBUG
R_RCDEFINES = /dNDEBUG
ORIGIN = MSVC
ORIGIN_VER = 1.00
PROJPATH = C:\DATA\WINTECH\03\TARGET\CPP\
USEMFC = 1
CC = cl
CPP = cl
CXX = cl
CCREATEPCHFLAG = /YcSTDAFX.H
CPPCREATEPCHFLAG = /YcSTDAFX.H
CUSEPCHFLAG = /YuSTDAFX.H
CPPUSEPCHFLAG = /YuSTDAFX.H
FIRSTC =
FIRSTCPP = STDAFX.CPP
RC = rc
CFLAGS_D_WEXE = /nologo /G2 /W3 /Zi /AM /Od /D "_DEBUG" /GA /Fd"TARGET.PDB"
CFLAGS_R_WEXE = /nologo /f- /Gs /G2 /W3 /AM /O1 /D "NDEBUG" /FR /GA
LFLAGS_D_WEXE = /NOLOGO /NOD /PACKC:61440 /STACK:20480 /ALIGN:16 /ONERROR:NOEXE /CO
LFLAGS_R_WEXE = /NOLOGO /NOD /PACKC:61440 /STACK:20480 /ALIGN:16 /ONERROR:NOEXE
LIBS_D_WEXE = mafxcwd oldnames libw mlibcew commdlg olesvr olecli shell
LIBS_R_WEXE = mafxcw oldnames libw mlibcew commdlg olesvr olecli shell
RCFLAGS = /nologo /z
RESFLAGS = /nologo /t
RUNFLAGS =
DEFFILE = CTARGET.DEF
OBJS_EXT =
LIBS_EXT =
!if "$(DEBUG)" == "1"
CFLAGS = $(CFLAGS_D_WEXE)
LFLAGS = $(LFLAGS_D_WEXE)
LIBS = $(LIBS_D_WEXE)
MAPFILE = nul
RCDEFINES = $(D_RCDEFINES)
!else
CFLAGS = $(CFLAGS_R_WEXE)
LFLAGS = $(LFLAGS_R_WEXE)
LIBS = $(LIBS_R_WEXE)
MAPFILE = nul
RCDEFINES = $(R_RCDEFINES)
!endif
!if [if exist MSVC.BND del MSVC.BND]
!endif
SBRS = STDAFX.SBR \
CTARGET.SBR
STDAFX_DEP = c:\data\wintech\03\target\cpp\stdafx.h
CTARGET_DEP = c:\data\wintech\03\target\cpp\stdafx.h
CTARGET_RCDEP = c:\data\wintech\03\target\cpp\res\target.rc2
all: $(PROJ).EXE $(PROJ).BSC
STDAFX.OBJ: STDAFX.CPP $(STDAFX_DEP)
$(CPP) $(CFLAGS) $(CPPCREATEPCHFLAG) /c STDAFX.CPP
CTARGET.OBJ: CTARGET.CPP $(CTARGET_DEP)
$(CPP) $(CFLAGS) $(CPPUSEPCHFLAG) /c CTARGET.CPP
CTARGET.RES: CTARGET.RC $(CTARGET_RCDEP)
$(RC) $(RCFLAGS) $(RCDEFINES) -r CTARGET.RC
$(PROJ).EXE:: CTARGET.RES
$(PROJ).EXE:: STDAFX.OBJ CTARGET.OBJ $(OBJS_EXT) $(DEFFILE)
echo >NUL @<<$(PROJ).CRF
STDAFX.OBJ +
CTARGET.OBJ +
$(OBJS_EXT)
$(PROJ).EXE
$(MAPFILE)
c:\msvc\lib\+
c:\msvc\mfc\lib\+
$(LIBS)
$(DEFFILE);
<<
link $(LFLAGS) @$(PROJ).CRF
$(RC) $(RESFLAGS) CTARGET.RES $@
@copy $(PROJ).CRF MSVC.BND
$(PROJ).EXE:: CTARGET.RES
if not exist MSVC.BND $(RC) $(RESFLAGS) CTARGET.RES $@
run: $(PROJ).EXE
$(PROJ) $(RUNFLAGS)
$(PROJ).BSC: $(SBRS)
bscmake @<<
/o$@ $(SBRS)
<<